package com.woniuxy.mesboot.service.impl;

import com.woniuxy.mesboot.entity.MesOutList;
import com.woniuxy.mesboot.mapper.MesOutListMapper;
import com.woniuxy.mesboot.service.MesOutListService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service

public class MesOutListServiceImpl implements MesOutListService {
    @Resource
    private MesOutListMapper mesOutListMapper;
    @Override
    public List<MesOutList> selectAll() {
        return mesOutListMapper.selectAll();
    }

    @Override
    public int deleteByPrimaryKey(Long id) {
        return mesOutListMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(MesOutList record) {
        return mesOutListMapper.insert(record) ;

    }

    @Override
    public int insertSelective(MesOutList record) {
        return mesOutListMapper.insertSelective(record);
    }

    @Override
    public MesOutList selectByPrimaryKey(Long id) {
        return mesOutListMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(MesOutList record) {
        return mesOutListMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(MesOutList record) {
        return mesOutListMapper.updateByPrimaryKey(record);
    }
}
